import request from "@/api/request";
import { apiClusterJava } from "@/api/root";
export const getCareerPathMyInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/userInfo",
    data
  );
};
//近期推荐列表分页获取，但是页面是不分页的
export const recentRecommendPositions = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/recommendPositions",
    data
  );
};
//职业被分享后收藏职业的埋点的接口
export const saveOpenCollect = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionShare/saveOpenCollect",
    data
  );
};
//2023年9月5日15:06:15职业大全首页改版之后顶部的一级推荐导航
export const recommendFirstLayerList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/recommendList",
    data
  );
};

//添加消息订阅记录
export const addMessageSubscribe = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionShare/addMessageSubscribe",
    data
  );
};

//获取用户关注信息
export const personCollectInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionShare/personCollectInfo",
    data
  );
};

//职业被分享后打开页面的埋点的接口
export const addOpenRecord = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionShare/addOpenRecord",
    data
  );
};
//职业主动分享埋点的接口
export const addShareRecord = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionShare/addShareRecord",
    data
  );
};
export const unlockJobDescriptionFirst = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/unlockedFirstTime",
    data
  );
};
export const addOrderAndPay = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionOrder/addOrderAndPay",
    data
  );
};
export const getJobDescriptionData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/answerDetails",
    data
  );
};
export const getJobDescriptionUnlockAndShare = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/getLockStatus",
    data
  );
};
export const clickShare = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/shareAndWaitUnlock",
    data
  );
};
export const getHomepageLayerData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/homepageLayer",
    data
  );
};

//首页获取一二级导航的新接口 新的
export const getNavigationTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/getNavigationTree",
    data
  );
};
//根据一级导航栏ID获取这个ID下的一棵树 新的
export const getCustomerPositionTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/getCustomerPositionTree",
    data
  );
};
//查询子导航根据导航一级或二级 新的
export const getSonNavigationTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/navigation/getSonNavigationTree",
    data
  );
};
//推荐导航职业列表 新的
export const positionRecommendList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/navigation/positionRecommendList",
    data
  );
};
//解锁职业列表 新的
export const unlockedNavigationPosition = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/unlockedNavigationPosition",
    data
  );
};
//通过专业查询职业树 新的
export const getNavigationListByTagId = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/getNavigationListByTagId",
    data
  );
};
//通过专业查询职业树 新的
export const matchPositionListNew = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/matchPositionList",
    data
  );
};
//主要一二线城市列表
export const getRegionTreeList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/getRegionTreeList",
    data
  );
};
//获取职业每个菜单具体值
export const getLayerDetailsData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/layerDetails",
    data
  );
};
//获取职业每个菜单具体值(二级or三级的)
export const getSecondLevelLayerDetails = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/getSecondLevelLayerDetails",
    data
  );
};
export const getPositionInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/positionInfo",
    data
  );
};
export const getJobDetailNormalText = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionHomepage/questionAnswer",
    data
  );
};

export const addToCollection = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/addPositionCollect",
    data
  );
};

export const cancelCollection = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/delPositionCollect",
    data
  );
};

export const getCollectionListData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/positionCollectList",
    data
  );
};
export const getShowPageType = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/getShowPageType",
    data
  );
};

//  营销页 分享页面点击助力解锁接口
export const shareHelpUnlock = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/shareHelpUnlock",
    data
  );
};

// 职讯聚合列表接口
export const getChannelHomePageData = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openMajor/getChannelHomePageData",
    data
  );
};
//职讯列表
export const getJobInfo = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/careerArticleListEt",
    data
  );
};
//职讯列表（0710带搜索）
export const getSearchJobInfo = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/careerArticleListEt",
    data
  );
};
//职说列表（0710带搜索）
export const getSearchJobSay = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/shorVideoCommonList",
    data
  );
};
//标杆列表（0724带搜索）
export const getSearchJobCase = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/layerData/getCareerReportCaseList",
    data
  );
};
//专刊列表
export const getSpecialIssue = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/specialIssueList",
    data
  );
};

// 职讯文章内容
export const getArtContent = (data) => {
  return request.webserviceOld(
    "job1001",
    "comm_article_busi/getArtContent",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 文章/视频点赞
export const addArticlePraise = (data) => {
  return request.webserviceOld(
    "job1001",
    "yl_praise_busi/addArticlePraise",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 文章收藏
export const addArticleFavorite = (data) => {
  return request.webserviceOld(
    "job1001",
    "yl_favorite_busi/addArticleFavorite",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 获取文章评论列表
export const getArticleCommentList = (data) => {
  return request.webserviceOld(
    "job1001",
    "salarycheck_all_busi/getXwCommentList",
    data,
    {
      version: "v7.7.0",
    }
  );
};

// 文章添加评论
export const addArticleComment = (data) => {
  return request.webserviceOld(
    "job1001",
    "comm_comment_busi/addArticleComment",
    data,
    {
      version: "v7.7.0",
    }
  );
};

// 文章评论点赞
export const addCommentPraise = (data) => {
  return request.webserviceOld(
    "job1001",
    "yl_praise_busi/addCommentPraise",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 视频收藏
export const addShortVideoFavorite = (data) => {
  return request.webserviceOld(
    "job1001",
    "yl_favorite_busi/addShortVideoFavorite",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 我的页面广告区数据
export const getAdvLists = (data) => {
  return request.webserviceOld(
    "job1001",
    "yl_adv/getMiniProgramAdvList",
    data
  );
};

// 获取用户个人信息
export const getRecordData = (data) => {
  return request.webserviceOld(
    "job1001",
    "person_center_busi/statePersonDeliveryCnt",
    data,
    {
      version: "v9.1.0",
    }
  );
};

// 短视频列表
export const getShorVideoCommonList = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/shorVideoCommonList",
    data
  );
};

// 短视频详情
export const getShortVideo = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/getShortVideo",
    data
  );
};

// 获取评论总数
export const getCountCommentByDateId = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openComment/countCommentByDateId",
    data
  );
};

// 获取评论列表
export const getComments = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openComment/getComments",
    data
  );
};

// 获取主评论下的子评论
export const getChildComments = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openComment/getChildComments",
    data
  );
};

// 评论点赞/取消点赞
export const likeOrCancel = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openComment/likeOrCancel",
    data
  );
};

// 发表评论
export const addComment = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openComment/addComment",
    data
  );
};

// 顾问主页信息
export const getAdviserHomeInfo = (data) => {
  return request.webserviceOld(
    "job1001",
    "person_adviser_busi/getAdviserHomeInfo",
    data,
    {
      version: "v7.8.4",
    }
  );
};

// 获取职讯列表
export const getCareerArticleListEt = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/careerArticleListEt",
    data
  );
};
// 获取专刊列表
export const specialIssueList = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/specialIssueList",
    data
  );
};
// 获取专刊详情
export const getSpecialIssueById = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/getSpecialIssueById",
    data
  );
};

// 专刊详情关联的职讯列表
export const specialIssueMidList = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/specialIssueMidList",
    data
  );
};
// 获取报告列表
export const getActivityList = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/activityOpen/getActivityList",
    data
  );
};

// 关注/取消关注顾问
export const focusOrCancel = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openLink/focusOrCancel",
    data
  );
};

// 屏蔽首页相关内容
export const updateLink = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openLink/updateLink",
    data
  );
};

//获取用户收藏关注职业状态
export const getPersonCollectStatus = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/getPersonCollectStatus",
    data
  );
};

// 转发统计
export const shareArticleInfo = (data) => {
  return request.webserviceOld(
    "job1001",
    "comm_article_busi/shareArticleInfo",
    data,
    {
      version: "v7.8.4",
    }
  );
};

//获取所有职位
export const getProfessionTreeByTitle = (data) => {
  return request.post(
    `${apiClusterJava}/api-career/positionSalary/getProfessionTreeByTitle`,
    data
  );
};
export const getHotPositionList = (data) => {
  return request.get(
    `${apiClusterJava}/api-career/positionSalary/hotSearchPositionList`,
    data
  );
};
export const getNotice = (data) => {
  return request.get(
    `${apiClusterJava}/api-career/positionSalary/notice`,
    data
  );
};
// 获取职位分享的标题名称
export const getPositionExtend = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/getPositionExtend",
    data
  );
};
// 查询职位多个维度关联内容
export const getLayerDataRelList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/layerData/getLayerDataRelList",
    data
  );
};
// 绑定职途卡片
export const cardBinding = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/cardBinding",
    data
  );
};
// 编辑用户信息
export const infoEdit = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/infoEdit",
    data
  );
};
// 获取用户信息
export const getUserInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/userInfo",
    data
  );
};
// 权益列表
export const getUserRightsList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/rights",
    data
  );
};
// 职讯详情查相关职位接口
export const getAdByContentId = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/getAdByContentId",
    data
  );
};
// 服务提交评价
export const subComment = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/subComment",
    data
  );
};
// 服务订单详情页
export const subConsultOrder = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/subConsultOrder",
    data
  );
};
// 查看评论
export const viewComment = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/viewComment",
    data
  );
};
// 聊天下拉框数据(获取卡片)
export const chatDropInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/chatDropInfo",
    data
  );
};
// 检查服务状态
export const checkServiceStat = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/checkServiceStat",
    data
  );
};
// 获取评论模板
export const commentTemplate = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/commentTemplate",
    data
  );
};
// 删除顾问擅长话题
export const delAdviserTopic = (data) => {
  return request.webservice(
    "mp",
    `${apiClusterJava}/api-yp/open/index`,
    "/activityOpen/delAdviserTopic",
    data
  );
};
// 添加编辑顾问擅长话题
export const editAdviserTopic = (data) => {
  return request.webservice(
    "mp",
    `${apiClusterJava}/api-yp/open/index`,
    "/activityOpen/editAdviserTopic",
    data
  );
};
// 查看服务总结
export const viewServiceSummary = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/viewServiceSummary",
    data
  );
};
// 用户介绍详情
export const personInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/personInfo",
    data
  );
};
// 绑定前检查顾问信息
export const checkConsultant = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/checkConsultant",
    data
  );
};
// 职途卡用户绑定顾问
export const bindConsultant = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/bindConsultant",
    data
  );
};
// 编辑顾问个人资料
export const editConsultant = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/editConsultant",
    data
  );
};
// 顾问个人资料信息
export const ztConsultantInfo = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/ztConsultantInfo",
    data
  );
};
// 是否是顾问
export const getApplyStatusByPersonId = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openCareer/getApplyStatusByPersonId",
    data
  );
};
// 顾问介绍详情页
export const consultantInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/consultantInfo",
    data
  );
};
// 顾问保存修改服务总结
export const editServiceSummary = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/editServiceSummary",
    data
  );
};
// 顾问关联服务打开关闭
export const openConsultantService = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/openConsultantService",
    data
  );
};
// 顾问关联服务管理页
export const consultantServicePage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/consultantServicePage",
    data
  );
};
// 顾问发布服务总结
export const pubServiceSummary = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/pubServiceSummary",
    data
  );
};
// 顾问服务/用户咨询记录页
export const serviceRecordPage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/serviceRecordPage",
    data
  );
};
// 检查是否可以点击对方头像
export const checkClick = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/checkClick",
    data
  );
};
// 获取推荐报告
export const recommendReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/recommendReport",
    data
  );
};
// 生成职途报告
export const createZTReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/createZTReport",
    data
  );
};
// 职业报告选择列表
export const careerList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/careerList",
    data
  );
};
// 职业测评选择职业报告
export const careerQuizRelReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/careerQuizRelReport",
    data
  );
};
// 职业测评选择职业报告-新流程用的
export const careerQuizRelReportByRight = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/careerQuizRelReportByRight",
    data
  );
};
// 获取职业测评关联报告
export const getCareerQuizReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getCareerQuizReport",
    data
  );
};
// 获取职业报告或者职途报告图片（就是预览报告）
export const getReportImage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getReportImage",
    data
  );
};
// 获取职途卡排行榜列表
export const getRankingList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personRank/getRankingList",
    data
  );
};
// 获取我的排名信息
export const getMyRankingInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personRank/getMyRankingInfo",
    data
  );
};
// 获取别人的最近完成记录列表
export const getOtherRecordList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personCompleteRecord/getOtherRecordList",
    data
  );
};
// 图片识别卡号密码
export const ztCardOrc = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/orc",
    data
  );
};
// 图片识别卡号密码
export const myRights = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/myRights",
    data
  );
};
// 权益列表v2.0
export const rightsTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/rightsTree",
    data
  );
};
// 权益列表v2.0,我的权益里面用
export const myOrderRights = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/myOrderRights",
    data
  );
};
// 权益列表中最近完成头像
export const userPhotos = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/userPhotos",
    data
  );
};
// 我的顾问
export const consultant = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/consultant",
    data
  );
};
// 我的顾问列表
export const getConsultantList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/consultantList"
  );
};
// 获取广告配置数据列表
export const getAdvertConfigList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionArticleSetting/getArticleRecommend",
    data
  );
};
// 上报权益使用结果(职业报告中选择三份职业报告的时候使用)
export const deliverSaveResult = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/positionSalary`,
    "/saveResult",
    data
  );
};
// 职途埋点
export const ztBurryPoint = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/burryPoint",
    data
  );
};
// 职途解码
export const ztDecrypt = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/decrypt",
    data
  );
};
// 职途顾问聊天发送权益卡片的之前获取的权益列表
export const getPersonRightList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getPersonRightList",
    data
  );
};
// 职途顾问聊天查询用户权益以及简历列表
export const getPersonRightResult = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getPersonRightResult",
    data
  );
};
// 添加评分主表获取rateId
export const addConsultantRate = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/addConsultantRate",
    data
  );
};
// 获取评价类型列表
export const getRateTypeList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getRateTypeList",
    data
  );
};
// 获取评价直接评分
export const addConsultantRateDetail = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/addConsultantRateDetail",
    data
  );
};
// 获取顾问评分(查询rateId是否已经评分过)
export const getConsultantRate = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getConsultantRate",
    data
  );
};
// 获取顾问信息（头像和名字）
export const getConsultantBasicInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getConsultantBasicInfo",
    data
  );
};
// 获取顾问聊天咨询进度
export const getPersonChatFlow = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getPersonChatFlow",
    data
  );
};
// 修改顾问聊天咨询进度
export const addPersonChatFlow = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/addPersonChatFlow",
    data
  );
};
// 订阅有新消息
export const getNewNotify = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/subscribePushUnRead",
    data
  );
};
// 订阅消息列表
export const getNewNotifyList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/subscribePushList",
    data
  );
};
// 订阅消息点击记录
export const updateNotifyReadStatus = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/clickPushContent",
    data
  );
};
// 订阅消息已读
export const updateSubscribeReadStatus = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/clickSubscribe",
    data
  );
};
// 获取顾问详情信息
export const getConsultantInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztChat/getConsultantInfo",
    data
  );
};
// 小程序二维码绑卡
export const codeBinding = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/codeBinding",
    data
  );
};
// 小程序查看是否需要填写密码
export const authCheck = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/authCheck",
    data
  );
};
//简历范文列表
export const refList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/refList"
  );
};
//异步解析简历并保持覆盖在线简历（新）
export const syncDealResumeAnalysisAndSave = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/syncDealResumeAnalysisAndSave",
    data
  );
};
//获取简历解析结果状态（新）
export const getResumeAnalysisRes = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/getResumeAnalysisRes",
    data
  );
};
// 获取用户的一级权益
export const getPersonOneLevelRightList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getPersonOneLevelRightList",
    data
  );
};
// 获取用户单个权益
export const getPersonOneRight = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getPersonOneRight",
    data
  );
};
// 获取职途更新公告
export const getZhituNotice = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/notice",
    data
  );
};
// 获取简历详情（JAVA接口，职途用
export const getResumeData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/getResumePreviewData",
    data
  );
};
// 权益商品详情页（JAVA接口，职途用
export const getRightDetail = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztOrder/getRightDetail",
    data
  );
};
// 生成订单（JAVA接口，职途用,注意是api-occupation
export const addCartAndToOrder = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openOrder/addCartAndToOrder",
    data
  );
};
// 通过订单获取支付信息（JAVA接口，职途用,注意是api-occupation
export const addZhituPayOrder = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openOrder/addPayOrder",
    data
  );
};

// 获取CVM1001产品信息
export const getCVM1001ProductDetail = (data) => {
  return request.webservice(
    "cvm",
    `${apiClusterJava}/api-portal/open/index`,
    "/product/detail",
    data
  );
};

// 通过CVM1001订单获取支付信息
export const getCVM1001OrderDetail = (data) => {
  return request.webservice(
    "cvmpay",
    `${apiClusterJava}/api-pay/open/index`,
    "/middlePayOpen/queryPay",
    data
  );
};

// 上报CVM1001订单获取支付信息
export const upportCVM1001OrderDetail = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openOrder/addCvmOrder",
    data
  );
};

// 获取CVM1001支付页面信息
export const getCVM1001PayPage = (data) => {
  return request.webservice(
    "oc",
    `${apiClusterJava}/api-occupation/open/index`,
    "/openOrder/reportCvmProduct",
    data
  );
};

// 获取增值权益
export const getVasRights = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztOrder/getVasRights",
    data
  );
};
// 获取用户简历评分
export const getResumeOpinion = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/getResumeOpinion",
    data
  );
};
// 获取简历待优化项数量
export const getResumeOpinionNum = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/getResumeOpinionNum",
    data
  );
};
// 编辑单个简历模块上报
export const dealSingleModuleScore = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/personResume/dealSingleModuleScore",
    data
  );
};

// 根据cardType查询首页顾问卡片是否展示
export const getPersonShowHomePage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getPersonShowHomePage",
    data
  );
};

// 聊天界面获取用户版本状态列表
export const getPersonChatEditionStatus = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/consultant/getPersonChatEditionStatus",
    data
  );
};

// 获取所有分组的cardTypeList
export const getGroupCardTypeList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProductGroup/getGroupCardTypeList",
    data
  );
};

// 获取分组商品数据
export const getProductGroup = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProductGroup/getProductGroup",
    data
  );
};
// 注册职途卡
export const cardRegist = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/cardRegist",
    data
  );
};
// 获取分组阶梯权益
export const getProductGroupLadderInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProductGroup/getProductGroupLadderInfo",
    data
  );
};
// 获取顾问海报
export const getPoster = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getPoster",
    data
  );
};

// 职途数据埋点统计
export const addBuryingPoint = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/eventLog/addBuryingPoint",
    data
  );
};
// 进入专业/职业详情埋点
export const addPositionTopicPoint = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTopic/eventSave",
    data
  );
};
// 我的订单列表
export const myOrderList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztOrder/myOrderList",
    data
  );
};
// 订单详情页zhituPayFinish
export const orderDetail = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztOrder/orderDetail",
    data
  );
};
// 注册职途用户自动生成用户名称
export const autoGenerateName = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/autoGenerateName",
    data
  );
};

// 查询套餐权益
export const getCardRightPackage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProduct/getCardRightPackage",
    data
  );
};

// 查询用户权益数量
export const getPersonRightNum = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightPersonValid/getPersonRightNum",
    data
  );
};
// 查询用户权益数量,新的
export const getCardPersonRightNum = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightPersonValid/getCardPersonRightNum",
    data
  );
};
// 获取单独权益产品通过rightId
export const getRightSingleProduct = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProduct/getRightSingleProduct",
    data
  );
};
// 获取分组折扣列表
export const getGroupDiscountList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/rightProductGroup/getGroupDiscountList",
    data
  );
};
// q2c端解锁报告次数+1
export const getCareerResearchReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/careerReport/getCareerResearchReport",
    data
  );
};
// 用户确认邮寄状态
export const personConfirmDeliverStatus = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/redeemCode/personConfirmDeliverStatus",
    data
  );
};
// 获取职途报告v2.0
export const getZtReportV2 = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getZtReportV2",
    data
  );
};
// 用户激活兑换码
export const useRedeemCode = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/redeemCode/useRedeemCode",
    data
  );
};
// 用户获取兑换码关联数据列表
export const getPersonRedeemInfoList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/redeemCode/getPersonRedeemInfoList",
    data
  );
};
// 用户获取兑换码关联订单号信息
export const getPersonRedeemInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/redeemCode/getPersonRedeemInfo",
    data
  );
};
// 生成职途报告v2.0
export const createZTReportV2 = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/createZTReportV2",
    data
  );
};
// 获取用户cardType（没有则默认ToC的cardType）
export const getPersonOrDefaultCardType = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztUser/getPersonOrDefaultCardType",
    data
  );
};
// 获取专业信息
export const tagInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/tagInfo",
    data
  );
};
// top10院校
export const positionTagColleges = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/colleges",
    data
  );
};
// 月平均薪酬
export const getSalaryRegion = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/getSalaryRegion",
    data
  );
};
// 就业方向薪酬分布
export const getPositionSalary = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/positionSalary",
    data
  );
};

// 工作年限薪酬分布
export const getWorkYearSalary = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/workYearSalary",
    data
  );
};
// 就业热点城市分布
export const getHotCities = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/hotCitys",
    data
  );
};
// 获取就业率较高的职业
export const getPositions = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionTag/positions",
    data
  );
};
// 获取中学生热搜榜单
export const getStudentHotSearchList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionInfo/getStudentHotSearchList",
    data
  );
};
// 获取二级搜索专业列表
export const positionTagAndParentList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionRel/positionTagAndParentList",
    data
  );
};
// 获取首页弹窗图片和跳转商品id 20240620
export const getToastProId = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/position/getToastProId",
    data
  );
};
// 获取长途营销页图片数组 20240620
export const getMarketingShowPage = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/marketingShowPage/getMarketingShowPage",
    data
  );
};
// 查看数据
export const offlineView = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/offline/view",
    data
  );
};
// 线下服务身份校验
export const offlineCheck = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/offline/check",
    data
  );
};
// 编辑新增线下数据
export const offlineEdit = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/offline/edit",
    data
  );
};
// 推荐职业报告
export const getRecommendReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/careerReport/getRecommendReport",
    data
  );
};
// 新版，简历诊断中的开始能力诊断
export const capacityDiagnose = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/capacityDiagnose",
    data
  );
};
// 通过personId查看诊断结果id
export const getCapByPersonId = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/getCapByPersonId",
    data
  );
};

// 获取用户是否可以预约顾问
export const getUserCanAppointment = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztUser/getUserCanAppointment",
    data
  );
};

// 创建虚拟personId
export const createFakePerson = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/createFakePerson",
    data
  );
};

// 复制测评权益(disc)
export const copyRight = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyRight",
    data
  );
};

// 复制简历诊断权益
export const copyResume = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyResume",
    data
  );
};

// 复制职业测评权益
export const copyCareerAssessment = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyCareerAssessment",
    data
  );
};

// 复制职途报告权益
export const copyZtReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyZtReport",
    data
  );
};

// 复制Ai面评权益
export const copyAiInterviewRecord = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyAiInterviewRecord",
    data
  );
};

// 生成二维码（短链）
export const createQR = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/opsShowShare/createQR",
    data
  );
};

// 获取二维码详情
export const getOneQRInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/opsShowShare/getOneQRInfo",
    data
  );
};

// 职途简易版添加关联用户意向
export const addPersonTrend = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/simpleReportTab/addPersonTrend",
    data
  );
};

// 查询职途简易版一级tab
export const getReportTab = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/simpleReportTab/getReportTab",
    data
  );
};

// 查询职途简易版tab中数据
export const getReportTabData = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/simpleReportTab/getReportTabData",
    data
  );
};

// 获取用户信息
export const getSimpleCareerUserInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztUser/getUserInfo",
    data
  );
};

// 修改用户信息
export const updateSimpleCareerUserInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/ztUser/updateUserInfo",
    data
  );
};

// 简易版测评添加测评结果
export const addAssessmentResult = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/simpleReportTab/addAssessmentResult",
    data
  );
};

// 获取是否显示AI机器人入口
export const getIsShowAIDigital = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/opsShowShare/isShowAIDigital",
    data
  );
};
// 修改学生学号
export const saveStuInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/saveStuInfo",
    data
  );
};
// 获取客户信息
export const getCustomerInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/getCustomerInfo",
    data
  );
};
// 查询学生信息
export const getStudentInfo = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/getStudentInfo",
    data
  );
};
// 搜索专业列表
export const campusMatchTags = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/campus/matchTagsByCardType",
    data
  );
};
// 获取专业列表
export const campusGetCampusDepartmentTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/campus/getCampusDepartmentTreeByCardType",
    data
  );
};
// 获取专业列表
export const campusGetClassList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/getClassList",
    data
  );
};
// 一二级行业列表
export const customerNavigationTree = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/navigationTree",
    data
  );
};
// 获取职业组合统计列表
export const subjectCombinationList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionSubjectStat/subjectCombinationList",
    data
  );
};
// 获取单个职业组合统计数据
export const positionSubjectStatOneSubjectCombination = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/positionSubjectStat/oneSubjectCombination",
    data
  );
};
// 通过1级查全部
export const customerVavAllPositions = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/navAllPositions",
    data
  );
};
// 通过1级查全部
export const collegeProfessionGetTagScore = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/collegeProfession/getTagScore",
    data
  );
};
// 通过1级查全部
export const customerMatchSubjectPositionList = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/customer/matchSubjectPositionList",
    data
  );
};
// 进入职业详情走新版本还是旧版本
export const getPositionTemplate = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/layer/getPositionTemplate",
    data
  );
};
// 进入职业大全是否新加一个tab栏
export const getAllCollegeExtraConfig = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/collegeExtraConfig/selectOne",
    data
  );
};
// 引流注册埋点
export const reportRegisterLog = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/eventLog/registerLog",
    data
  );
};

// 职途报告-岗位推荐-小程序使用
export const getJobRecommendByPerson = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/careerReport/getJobRecommendByPerson",
    data
  );
};
// 职途报告-修改求职意向更新报告状态
export const saveAndUpdateResearchReport = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/careerReport/saveAndUpdateResearchReport",
    data
  );
};
// 就业机2.0-用户扫码职途服务埋点
export const syncScanFunc = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/machine/syncScanFunc",
    data
  );
};
// 复制职业生涯报告记录
export const copyCareerDevelopRecord = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/userRight/copyCareerDevelopRecord",
    data
  );
};
// 根据personId查询token
export const getTokenByPersonId = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/zt/token",
    data
  );
};

// 配置cardType数组
export const getCardTypeConfig = (data) => {
  return request.webservice(
    "cr",
    `${apiClusterJava}/api-career/open/index`,
    "/collegeProfession/arrayConfig",
    data
  );
};
